package semantica;

public class QuotNumericAttributeType extends TypeAttribute {

	public boolean validate(String val) {
		if( val.charAt(0) == '\"' && val.charAt(val.length()-1) == '\"' )
		{
			String num = val.substring(1, val.length()-2);
			return new NumericAttributeType().validate(num);
		}
		return false;
	}

}
